<template>
  <div class="w-page">
    <div class="w-box">
      <img src="../assets/img/second/prove.png" alt="" class="w-img">
      <div class="w-conbox">
        <div class="w-num">证书编号：{{certificate}}</div>
        <div class="w-title">亲爱的某某：</div>
        <div class="w-con">
          感谢您于{{createDate}}向山西师范大学，向本校学生培养基金-奖学金项目捐赠，我们谨向您致以最诚挚的敬意和感谢，您的爱心将永载山西师范大学史册，愿我们携手共进，共同见证山西师范大学美好的明天！
        </div>
        <div class="w-bottombox">
          <div class="w-schoolbox">
            <p class="w-school">山西师范大学</p>
            <p class="w-school">教育发展基金会</p>
            <p class="w-date">{{createDate}}</p>
          </div>
        </div>
      </div>

    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      certificate: '',
      createDate: ''
    }
  },
  created () {
    console.log(this.$route.query)
    this.certificate = this.$route.query.certificate
    this.createDate = this.$route.query.createDate
  }
}
</script>

<style scoped>
  .w-page {
    width: 100vw;
    height: 100vh;
    background: #3A3939;
  }

  .w-box {
    width: 96vw;
    margin: 0 auto;
    padding-top: 23px;
    position: relative;

  }

  .w-box img {
    width: 100%;
    position: absolute;
  }

  .w-conbox {
    position: absolute;
    padding: 0 52px;
    padding-top: 42vw;
    height: 100vh;
    top: 0;
  }

  .w-num {
    color: #551A1A;
    font-size: 10px;
    text-align: center;
  }

  .w-title {
    font-size: 13px;
    color: #360D0D;
    margin-top: 33px;
    font-weight: bold;
  }

  .w-con {
    color: #595A5E;
    font-size: 12px;
    text-indent: 20px;
    margin-top: 16px;
    line-height: 1.8;
  }

  .w-bottombox {
    position: absolute;
    right: 12vw;
    margin-top: 26vw;
  }

  .w-schoolbox {
    text-align: center;
  }

  .w-school {
    color: #551A1A;
    font-size: 12px;
    width: 24vw;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
  }

  .w-date {
    color: #551A1A;
    font-size: 10px;
    text-align: center;
    margin-top: 6px;
    font-weight: 500;

  }
</style>
